package swa2012.telco.broker;

import java.util.Collection;

import javax.jws.WebService;

import swa2012.telco.broker.beans.BrokerRegistrationStatus;
import swa2012.telco.broker.beans.BrokerSendMessageStatus;
import swa2012.telco.broker.beans.Message;
import swa2012.telco.broker.beans.Provider;

@WebService
public interface Broker extends BrokerCallback {
	BrokerSendMessageStatus sendMessage(Message msg);
	BrokerRegistrationStatus registerProvider(Provider p);
	BrokerRegistrationStatus deregisterProvider(Provider p);
	Collection<Provider> listProviders();	
}
